package com.schx.budget.util;

/**
 * @Classname PageUtil
 * @Description TODO
 * @Date 2021/2/4 15:18
 * @Created by cyh
 */
public class PageUtil {
    public static int start(int page,int limit){
        return (page-1)*limit+1;
    }

    public static int end(int page,int limit){
        return page*limit;
    }
}
